<?xml version="1.0" encoding="UTF-8" ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"/>
	<xsl:template match="HeaderAndClass">

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

	<PropertyGroup>
		<ProjectType>Local</ProjectType>
		<ProductVersion>8.0.50727</ProductVersion>
		<SchemaVersion>2.0</SchemaVersion>
		<ProjectGuid></ProjectGuid>
		<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
		<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
		<ApplicationIcon></ApplicationIcon>
		<AssemblyKeyContainerName></AssemblyKeyContainerName>
		<AssemblyName><xsl:value-of select="HeaderInfo/ProjectName"/></AssemblyName>
		<AssemblyOriginatorKeyFile></AssemblyOriginatorKeyFile>
		<DefaultClientScript>JScript</DefaultClientScript>
		<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
		<DefaultTargetSchema>IE50</DefaultTargetSchema>
		<DelaySign>false</DelaySign>
		<OutputType>Library</OutputType>
		<RootNamespace><xsl:value-of select="HeaderInfo/ProjectName"/>.Dal</RootNamespace>
		<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
		<StartupObject></StartupObject>
		<FileUpgradeFlags></FileUpgradeFlags>
		<UpgradeBackupLocation></UpgradeBackupLocation>
	</PropertyGroup>
	
	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
		<OutputPath>bin\Debug\</OutputPath>
		<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
		<BaseAddress>285212672</BaseAddress>
		<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
		<ConfigurationOverrideFile></ConfigurationOverrideFile>
		<DefineConstants>DEBUG;TRACE</DefineConstants>
		<DocumentationFile></DocumentationFile>
		<DebugSymbols>true</DebugSymbols>
		<FileAlignment>4096</FileAlignment>
		<NoStdLib>false</NoStdLib>
		<NoWarn></NoWarn>
		<Optimize>false</Optimize>
		<RegisterForComInterop>false</RegisterForComInterop>
		<RemoveIntegerChecks>false</RemoveIntegerChecks>
		<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
		<WarningLevel>4</WarningLevel>
		<DebugType>full</DebugType>
		<ErrorReport>prompt</ErrorReport>
	</PropertyGroup>
	
	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
		<OutputPath>bin\Release\</OutputPath>
		<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
		<BaseAddress>285212672</BaseAddress>
		<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
		<ConfigurationOverrideFile></ConfigurationOverrideFile>
		<DefineConstants>TRACE</DefineConstants>
		<DocumentationFile></DocumentationFile>
		<DebugSymbols>false</DebugSymbols>
		<FileAlignment>4096</FileAlignment>
		<NoStdLib>false</NoStdLib>
		<NoWarn></NoWarn>
		<Optimize>true</Optimize>
		<RegisterForComInterop>false</RegisterForComInterop>
		<RemoveIntegerChecks>false</RemoveIntegerChecks>
		<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
		<WarningLevel>4</WarningLevel>
		<DebugType>none</DebugType>
		<ErrorReport>prompt</ErrorReport>
	</PropertyGroup>
	
	<ItemGroup>
		<Reference Include="Castle.ActiveRecord">
			<Name>Castle.ActiveRecord</Name>
			<HintPath><xsl:value-of select="HeaderInfo/ref1"/>\bin\net-2.0\Castle.ActiveRecord.dll</HintPath>
		</Reference>
		

		<Reference Include="Iesi.Collections">
			<Name>Iesi.Collections</Name>
			<HintPath><xsl:value-of select="HeaderInfo/ref1"/>\bin\net-2.0\Iesi.Collections.dll</HintPath>
		</Reference>
		<Reference Include="NHibernate">
			<Name>NHibernate</Name>
			<HintPath><xsl:value-of select="HeaderInfo/ref1"/>\bin\net-2.0\NHibernate.dll</HintPath>
		</Reference>
		
		<Reference Include="nunit.framework">
			<Name>nunit.framework</Name>
			<HintPath><xsl:value-of select="HeaderInfo/ref2"/>\bin\NUNit.Framework.dll</HintPath>
		</Reference>

		<Reference Include="System">
			<Name>System</Name>
		</Reference>
		<Reference Include="System.Data">
			<Name>System.Data</Name>
		</Reference>
		<Reference Include="System.Xml">
			<Name>System.XML</Name>
		</Reference>
	</ItemGroup>
	
	<ItemGroup>
		<Compile Include="CS\DataObject.cs">
			<SubType>Code</SubType>
		</Compile>
		<Compile Include="CS\AssemblyInfo.cs">
			<SubType>Code</SubType>
		</Compile>
		<xsl:for-each select="Classes/Class">
		<Compile><xsl:attribute name="Include">CS\<xsl:value-of select="Name"/>.cs</xsl:attribute>
			<SubType>Code</SubType>
		</Compile>
		</xsl:for-each>
		<xsl:for-each select="Classes/Class">
		<Compile><xsl:attribute name="Include">CS\Methods\<xsl:value-of select="Name"/>.cs</xsl:attribute>
		</Compile>
		</xsl:for-each>
		<Compile Include="CS\Tests\NUnitBase.cs"/>
		<xsl:for-each select="Classes/Class">
		<Compile><xsl:attribute name="Include">CS\Tests\<xsl:value-of select="Name"/>Test.cs</xsl:attribute>
		</Compile>
		</xsl:for-each>		
	</ItemGroup>
	
	<ItemGroup>
		<Content Include="ActiveRecord.xml">
			<CopyToOutputDirectory>Always</CopyToOutputDirectory>
		</Content>
		<Content Include="readme.html" />
	</ItemGroup>
	
	<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
	<PropertyGroup>
		<PreBuildEvent></PreBuildEvent>
		<PostBuildEvent></PostBuildEvent>
	</PropertyGroup>
	
	
	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
		<StartAction>Program</StartAction>
		<StartProgram><xsl:value-of select="HeaderInfo/ref2"/>\bin\nunit.exe</StartProgram>
		<StartArguments><xsl:value-of select="HeaderInfo/ProjectName"/>.dll</StartArguments>
	</PropertyGroup>

</Project>


	</xsl:template>
</xsl:stylesheet>
